package com.audaque.springboot.foshanupload.jwtcore.properties;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author zgb
 * @desc ...
 * @date 2021-05-24 14:09:01
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Component
@ConfigurationProperties(prefix = "jwt")
public class JwtProperties {

    private String accessTokenKey;
    private String refreshTokenKey;
    private String issuer;
    private Long expires;
    private String algorithmId;
    private String skey;
    private String privateKey;
    private String publicKey;

}
